package com.example.smartcity.logic.utils

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

/**
 * Activity父类
 */
open class BaseActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        ManageActivity.addActivity(this)
    }

    override fun onDestroy() {
        super.onDestroy()
        ManageActivity.removeActivity(this)
    }
}